import { defineFakeRoute } from "vite-plugin-fake-server/client";

export default defineFakeRoute([
  // 账户设置-个人信息
  {
    url: "/api/private/user/info",
    method: "get",
    response: () => {
      return {
        meta: { msg: "查询成功！", status: 0 },
        data: {
          avatar: "https://avatars.githubusercontent.com/u/44761321",
          userName: "admin",
          nickName: "阿坤",
          email: "autchan@163.com",
          phone: "13333333333",
          description: "一个热爱开源的前端工程师"
        }
      };
    }
  }
]);
